package org.kotboot.domain;

import com.alibaba.fastjson.JSON;

import org.kotboot.domainext.ExtAll;
import org.kotboot.domainext.ExtBase;
import org.kotboot.kit.K;

import javax.persistence.Table;

/**
 * jisong.sun 2017/9/13 18:47
 */
@Table(name = "ms_carousel")
public class Carousel extends ExtAll {
    private String title;
    private String depict;
    private String photo;
    private String type;
    private String content;
    private Long sort;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDepict() {
        return depict;
    }

    public void setDepict(String depict) {
        this.depict = depict;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    @Override
    public String toString() {
        return K.toJson(this);
    }
}
